import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'tab_bar_state.dart';

class TabBarLogic extends GetxController with GetSingleTickerProviderStateMixin{
  final TabBarState state = TabBarState();

  @override
  void onInit() {
    super.onInit();
    state.tabController = TabController(
        length: state.tabs.length,
        vsync: this,
        initialIndex: 0);
  }

}
